const editorUrlList = [
  {
    command: 'openView-Vue3',
    title: 'Vue3',
    column: 0,
    baseUrl: 'https://cn.vuejs.org/api/application.html#'
  },
  {
    command: 'openView-element-plus',
    title: 'element-plus',
    column: 0,
    baseUrl: 'https://element-plus.gitee.io/zh-CN/component'
  },
  {
    command: 'openView-unocss',
    title: 'unocss',
    column: 0,
    baseUrl: 'https://uno.antfu.me/?s='
  }
]

  /**
   * Sec-Fetch-desk: iframe
   * Forbidden header
   */
const browserUrlList = [
  {
    command: 'openView-Node.js',
    title: 'Node.js',
    column: 0,
    baseUrl: 'https://nodejs.org/dist/latest-v18.x/docs/api/'
  },
  {
    command: 'openView-lodash',
    title: 'lodash',
    column: 0,
    baseUrl: 'https://lodash.com/docs/4.17.15#'
  },
  {
    command: 'openView-issue',
    title: 'gitee issus',
    column: 0,
    baseUrl: 'https://gitee.com/yangggjian/code-snippet/issues/new'
  }
]

const reg = {
  '.$': /(this)*\.+\$+/,
  '.': /\.+/,
  'el-': /^(el)*-/
}

module.exports = { editorUrlList, browserUrlList, reg }